package com.jeeplus.test.jlnu.teachingArchive.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jeeplus.test.jlnu.teachingArchive.domain.entity.AcademicInfo;
import com.jeeplus.test.jlnu.teachingArchive.domain.vo.AcademicInfoVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/*教学档案基础信息数据访问层接口*/
@Mapper
public interface AcademicInfoMapper {

    //教学档案基础信息分页查询
    Page<AcademicInfo> getAcademicInfoPage(@Param("academicInfoVo") AcademicInfoVo academicInfoVo, Page<AcademicInfo> page);

    //教学档案基本信息批量新增
    int batchInsert(List<AcademicInfo> academicInfoList);

    //教学档案基础信息批量修改
    int batchUpdateById(@Param("academicInfo") AcademicInfoVo academicInfoList,@Param("ids") List<String> ids);

    //教学档案基础信息查询
    AcademicInfo getTemplateInfoById(String id);
}
